Effective Partial Evaluation: Principles and Applications
نویسندگان
چکیده
We report here a successful experiment in using partial evaluation on a realistic program, namely the Sun commercial RPC (Remote Procedure Call) protocol. The Sun RPC is implemented in a highly generic way that offers multiple opportunities of specialization. Our study also shows the incapacity of traditional binding-time analyses to treat real system programs. Our experiment has been made with Tempo, a partial evaluator for C programs targeted towards system software. Tempo’s binding-time analysis had to be improved to integrate partially static data structures (interprocedurally), context sensitivity, use sensitivity and return sensitivity. The Sun RPC experiment files, including the specialized implementation, are publicly available upon request to the authors.
منابع مشابه
The Stability of Non-standard Finite Difference Scheme for Solution of Partial Differential Equations of Fractional Order
Fractional derivatives and integrals are new concepts of derivatives and integrals of arbitrary order. Partial differential equations whose derivatives can be of fractional order are called fractional partial differential equations (FPDEs). Recently, these equations have received special attention due to their high practical applications. In this paper, we survey a rather general case of FPDE t...
متن کاملPartial Evaluation , Part 1 CS 701
This lecture concerns partial evaluation. Comparisons are made between partial evaluation and compiling. Two principles are given that help determine when to use partial evaluation. We show how a partial evaluator can be used to translate a program from one language L2 into another language L1 even if the partial evaluator’s capabilities are limited so that its input is an L1 program and its ou...
متن کاملHey, You Got Your Compiler in My Operating System!
Several operating systems projects revolve around moving functionality above or below the kernel “red line” to increase flexibility or performance. We describe how a general model of partial evaluation encompasses this trend. The operating systems community should not be content with a single interface between applications and the operating system, even if that interface allows extension below ...
متن کاملExact Solution for Nonlinear Local Fractional Partial Differential Equations
In this work, we extend the existing local fractional Sumudu decomposition method to solve the nonlinear local fractional partial differential equations. Then, we apply this new algorithm to resolve the nonlinear local fractional gas dynamics equation and nonlinear local fractional Klein-Gordon equation, so we get the desired non-differentiable exact solutions. The steps to solve the examples a...
متن کاملUser Interface Design in Mobile Educational Applications
Introduction: User interfaces are a crucial factor in ensuring the success of mobile applications. Mobile Educational Applications not only provide flexibility in learning, but also allow learners to learn at any time and any place. The purpose of this article is to investigate the effective factors affecting the design of the user interface in mobile educational applications. Methods: Quantita...
متن کامل